3.1180 \(\int \frac{(1-2 x) (2+3 x)^2}{3+5 x} \, dx\)

Optimal. Leaf size=30 \[ -\frac{6 x^3}{5}-\frac{21 x^2}{50}+\frac{163 x}{125}+\frac{11}{625} \log (5 x+3) \]

[Out]

(163*x)/125 - (21*x^2)/50 - (6*x^3)/5 + (11*Log[3 + 5*x])/625

_______________________________________________________________________________________

Rubi [A]  time = 0.0328335, antiderivative size = 30, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.05 \[ -\frac{6 x^3}{5}-\frac{21 x^2}{50}+\frac{163 x}{125}+\frac{11}{625} \log (5 x+3) \]

Antiderivative was successfully verified.

[In]  Int[((1 - 2*x)*(2 + 3*x)^2)/(3 + 5*x),x]

[Out]

(163*x)/125 - (21*x^2)/50 - (6*x^3)/5 + (11*Log[3 + 5*x])/625

_______________________________________________________________________________________

Rubi in Sympy [F]  time = 0., size = 0, normalized size = 0. \[ - \frac{6 x^{3}}{5} + \frac{11 \log{\left (5 x + 3 \right )}}{625} + \int \frac{163}{125}\, dx - \frac{21 \int x\, dx}{25} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((1-2*x)*(2+3*x)**2/(3+5*x),x)

[Out]

-6*x**3/5 + 11*log(5*x + 3)/625 + Integral(163/125, x) - 21*Integral(x, x)/25

_______________________________________________________________________________________

Mathematica [A]  time = 0.0151029, size = 27, normalized size = 0.9 \[ \frac{-1500 x^3-525 x^2+1630 x+22 \log (5 x+3)+843}{1250} \]

Antiderivative was successfully verified.

[In]  Integrate[((1 - 2*x)*(2 + 3*x)^2)/(3 + 5*x),x]

[Out]

(843 + 1630*x - 525*x^2 - 1500*x^3 + 22*Log[3 + 5*x])/1250

_______________________________________________________________________________________

Maple [A]  time = 0.002, size = 23, normalized size = 0.8 \[{\frac{163\,x}{125}}-{\frac{21\,{x}^{2}}{50}}-{\frac{6\,{x}^{3}}{5}}+{\frac{11\,\ln \left ( 3+5\,x \right ) }{625}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((1-2*x)*(2+3*x)^2/(3+5*x),x)

[Out]

163/125*x-21/50*x^2-6/5*x^3+11/625*ln(3+5*x)

_______________________________________________________________________________________

Maxima [A]  time = 1.32394, size = 30, normalized size = 1. \[ -\frac{6}{5} \, x^{3} - \frac{21}{50} \, x^{2} + \frac{163}{125} \, x + \frac{11}{625} \, \log \left (5 \, x + 3\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(-(3*x + 2)^2*(2*x - 1)/(5*x + 3),x, algorithm="maxima")

[Out]

-6/5*x^3 - 21/50*x^2 + 163/125*x + 11/625*log(5*x + 3)

_______________________________________________________________________________________

Fricas [A]  time = 0.214234, size = 30, normalized size = 1. \[ -\frac{6}{5} \, x^{3} - \frac{21}{50} \, x^{2} + \frac{163}{125} \, x + \frac{11}{625} \, \log \left (5 \, x + 3\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(-(3*x + 2)^2*(2*x - 1)/(5*x + 3),x, algorithm="fricas")

[Out]

-6/5*x^3 - 21/50*x^2 + 163/125*x + 11/625*log(5*x + 3)

_______________________________________________________________________________________

Sympy [A]  time = 0.154887, size = 27, normalized size = 0.9 \[ - \frac{6 x^{3}}{5} - \frac{21 x^{2}}{50} + \frac{163 x}{125} + \frac{11 \log{\left (5 x + 3 \right )}}{625} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((1-2*x)*(2+3*x)**2/(3+5*x),x)

[Out]

-6*x**3/5 - 21*x**2/50 + 163*x/125 + 11*log(5*x + 3)/625

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.210792, size = 31, normalized size = 1.03 \[ -\frac{6}{5} \, x^{3} - \frac{21}{50} \, x^{2} + \frac{163}{125} \, x + \frac{11}{625} \,{\rm ln}\left ({\left | 5 \, x + 3 \right |}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(-(3*x + 2)^2*(2*x - 1)/(5*x + 3),x, algorithm="giac")

[Out]

-6/5*x^3 - 21/50*x^2 + 163/125*x + 11/625*ln(abs(5*x + 3))